﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentNHibernate.Mapping;
using Model.Entities;

namespace Model.Mappings
{
    public partial class HRDS_FACILITY_EQUIPMENT_Map : SubclassMap<HRDS_FACILITY_EQUIPMENT>
    {
        public HRDS_FACILITY_EQUIPMENT_Map()
        {
            Table("HRDS_FACILITY_EQUIPMENT");
            KeyColumn("EQUID");
            Map(x => x.EQNAME).Nullable().Length(50);
            Map(x => x.EQSTATUS).Not.Nullable().Length(2);
            Map(x => x.EQTYPE).Not.Nullable().Length(2);
            Map(x => x.EQIP).Not.Nullable().Length(100);
            Map(x => x.EQPORT).Not.Nullable().Length(12);
            Map(x => x.MACADDRESS).Not.Nullable().Length(100);
            DoEditableMappings();
        }
    }
}
